#include "ScnsMalloc.c.h"

#if defined(SCNS_MALLOC_ENABLE)&&SCNS_MALLOC_ENABLE==1

static uint8 mallocDTCM[(64)*1024],mallocAXI[368*1024] __attribute__((aligned(64)));

const ScnsBspMallocConfig scnsBspMallocConfig[SCNS_MALLOC_MAX]={
    [SCNS_MALLOC_DTCM]={
        .ptr=mallocDTCM,
        .blockSize=64,
        .maxSize=sizeof(mallocDTCM),
    },
    [SCNS_MALLOC_AXI]={
        .ptr=mallocAXI,
        .blockSize=512,
        .maxSize=sizeof(mallocAXI),
    },
};

#endif
